blob: 81247ca2177aec9745666547af1910b2cd0e3b28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef GAME_H
#define GAME_H
#include <bu/string.h>
#include <bu/hash.h>
#include "function.h"
#include "situation.h"
#include "scope.h"
class Game
{
friend class GameBuilder;
public:
Game();
virtual ~Game();
private:
typedef Bu::Hash<Bu::String, Function *> FunctionHash;
typedef Bu::Hash<Bu::String, Situation *> SituationHash;
VariableHash hGlobalParam;
FunctionHash hFunction;
SituationHash hSituation;
Bu::String sCurSituation;
};
#endif
|